<admintpl file="header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="{:U('index')}">数据列表</a></li>
		</ul>
		<form class="well form-search" method="post" action="{:U('')}">
			爬取时间
			<input type="text" name="start_date" class="js-date" id='date_s' value="{$_REQUEST[start_date]? $_REQUEST[start_date]:$start_mon}" style="width: 80px;" autocomplete="off">-
			<input autocomplete="off" type="text" class="js-date" id='date_e' name="end_date" value="{$_REQUEST['end_date'] ? $_REQUEST[end_date]: $end_mon}" style="width: 80px;"> 
			渠道网站 
			<select name="channel" id="source_id">
				<option value="">全部</option>
				<volist name='channel' id='vo'>
					<option value="{$vo}" {$vo == $_REQUEST[channel] ? 'selected' : ''}>{$vo}</option>
				</volist>
			</select>			
			关键词
			<select name="keyword" id="source_id">
				<option value="">全部</option>
				<volist name='keyword' id='vo'>
					<option value="{$vo}" {$vo == $_REQUEST[keyword] ? 'selected' : ''}>{$vo}</option>
				</volist>
			</select>
			<button class="btn btn-primary">搜索</button>
			<a class="btn btn-primary" href="{:U('')}">清空</a>
			<a class="btn btn-primary" href="{:U('printexcel',['map'=>$map])}">导出excel</a>
		</form>
		<form class="js-ajax-form" method="post">
			<table class="table table-hover table-bordered table-list">
				<thead>
					<tr>
						<th width="1%">ID</th>
						<th width="">标题</th>
						<th width="10%">关键词</th>
						<th width="10%">渠道网站</th>
						<th width="10%">来源网站</th>
						<th width="10%">搜索位置</th>
						<th width="10%">发布时间</th>
						<th width="10%">爬取时间</th>
					</tr>
				</thead>
				<volist name="list" id="vo">
					<tr>
						<td>{$vo.id}</td>
						<td><a href="{$vo.href}" target='_blank'>{$vo.title}</a></td>
						<td>{$vo.keyword}</td>
						<td>{$vo.channel}</td>
						<td>{$vo.source}</td>
						<td>{$vo.position}</td>
						<td>{$vo.date}</td>
						<td>{$vo.created_time}</td>
					</tr>
				</volist>
			</table>
			<div class="pagination">{$page}</div>
		</form>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
	<script type="text/javascript" src="__PUBLIC__/js/content_addtop.js?t={:time()}"></script>
</body>
</html>